package main

import "fmt"

type Position struct {
	x float64
	y float64
}

func main() {
	var posMap = map[Position]string{
		Position{29.1234, 59.3344}:   "Shenzhen",
		Position{123.344, 234.35555}: "Dalian",
		Position{111.222, 555.666}:   "New York",
	}
	fmt.Println(posMap)

	var posMap2 = map[Position]string{
		{29.1234, 59.3344}:         "Shenzhen",
		{123.344, 234.35555}:       "Dalian",
		Position{111.222, 555.666}: "New York",
	}
	fmt.Println(posMap2)
}
